<template>
  <div>
    Home组件
    <br>
    {{this.$route.query.id}}
    <br>
    {{this.$route.query.name}}
  </div>
</template>

<script>
export default {
  name: "Home"
  ,mounted() {
    console.log(this.$router)
    console.log(this.$route.query)
  }
}
</script>

<style scoped>

</style>